//
//  UserCashBack.swift
//  FeastBooking
//
//  Created by Imon on 2017/11/16.
//  Copyright © 2017年 Imon. All rights reserved.
//

import Foundation
import ObjectMapper

class UserCashBack: Response {
    
    var completedCashback: Double?
    var pendingCashback: Double?
    var totalCashback: Double?
    var userId: Int?
    
    required init?(map: Map) {
        super.init(map: map)
    }
    
    override func mapping(map: Map) {
        super.mapping(map: map)
        completedCashback <- map["completedCashback"]
        pendingCashback <- map["pendingCashback"]
        totalCashback <- map["totalCashback"]
        userId <- map["userId"]
    }
}
